﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApp3
{
    public static class AppConfig
    {
        public static string _connectionStrings = "Data Source=" + System.AppDomain.CurrentDomain.BaseDirectory + "main.db;password=_aabbcc!~;";

        public static string _dbSource = System.AppDomain.CurrentDomain.BaseDirectory + "main.db";

        //项目目录
        private static DirectoryInfo dir = new DirectoryInfo(Environment.CurrentDirectory);

        //项目名称
        public static string PRONAME = "宅男视频助手";

        //根目录
        public static string basePath = dir.FullName;

        //服务器路径
        public static string ServerPath = "http://video.kaola-vip.cn";


        //错误图片的路径
        public static string ErrorIMGPath = basePath + "\\Resources\\error.jpg";

        public static string DLLPath = basePath + "\\DLL\\";


        public static List<string> SupIOSFormat = new List<string>() { ".mp4", ".avi" };

        public static List<string> SupAZFormat = new List<string>() { ".mp4", ".avi", ".mkv", ".mov" };
    }
}
